<template>
  <div>
    <div style="margin: 0 20px">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="未撤号班组" name="first"></el-tab-pane>
        <el-tab-pane label="未撤号单项作业" name="second"></el-tab-pane>
        <el-tab-pane label="未撤号整车" name="third"></el-tab-pane>
      </el-tabs>
    </div>
    <div v-if="activeName == 'first'">
      <NoTeam></NoTeam>
    </div>
    <div v-if="activeName == 'second'">
      <NoSingle></NoSingle>
    </div>
    <div v-if="activeName == 'third'">
      <Nocarload></Nocarload>
    </div>
  </div>
</template>
<script>
import NoTeam from "./NoTeam.vue";
import NoSingle from "./NoSingle.vue";
import Nocarload from "./Nocarload.vue";
export default {
  components: { NoTeam, NoSingle, Nocarload },
  data() {
    return {
      activeName: "first",
    };
  },
  methods: {
    handleClick(tab, event) {
      this.activeName = tab.name;
    },
  },
};
</script>
<style lang="scss" scoped>
.tasktitles {
  font-weight: bold;
  font-size: 16px;
}
.conteins {
  margin: 0 50px;
}
::v-deep .el-tabs__item {
  font-weight: 600 !important;
  font-size: 16px;
}
</style>

